class CreateCommoncodes < ActiveRecord::Migration
  def self.up
    create_table :commoncodes do |t|
      t.string :Code
      t.string :Name
      t.string :EName
      t.string :Alias
      t.text :Descriprion
      t.boolean :InUse
      t.string :CodeLevel
      t.string :ParentCode
      t.string :Type

      t.timestamps
    end
  end

  def self.down
    drop_table :commoncodes
  end
end
